package com.ssm.xm.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class ClassroomInfo implements Serializable {
    private Integer classroomId;

    private String classroomName;

    private Integer classroomMax;

    private String classroomInfo;

    private String classroomRemark;

    private Integer classroomState;

    private static final long serialVersionUID = 1L;

    public Integer getClassroomId() {
        return classroomId;
    }

    public void setClassroomId(Integer classroomId) {
        this.classroomId = classroomId;
    }

    public String getClassroomName() {
        return classroomName;
    }

    public void setClassroomName(String classroomName) {
        this.classroomName = classroomName == null ? null : classroomName.trim();
    }

    public Integer getClassroomMax() {
        return classroomMax;
    }

    public void setClassroomMax(Integer classroomMax) {
        this.classroomMax = classroomMax;
    }

    public String getClassroomInfo() {
        return classroomInfo;
    }

    public void setClassroomInfo(String classroomInfo) {
        this.classroomInfo = classroomInfo == null ? null : classroomInfo.trim();
    }

    public String getClassroomRemark() {
        return classroomRemark;
    }

    public void setClassroomRemark(String classroomRemark) {
        this.classroomRemark = classroomRemark == null ? null : classroomRemark.trim();
    }

    public Integer getClassroomState() {
        return classroomState;
    }

    public void setClassroomState(Integer classroomState) {
        this.classroomState = classroomState;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", classroomId=").append(classroomId);
        sb.append(", classroomName=").append(classroomName);
        sb.append(", classroomMax=").append(classroomMax);
        sb.append(", classroomInfo=").append(classroomInfo);
        sb.append(", classroomRemark=").append(classroomRemark);
        sb.append(", classroomState=").append(classroomState);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}